package com.miao.websecurity.controller;

import com.miao.common.entity.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MiaoWenqing
 * @description: 测试接口
 * @date 2021/1/17 00:21
 */
@RestController
@RequestMapping("/admin")
public class TestController {


    @GetMapping("/test1")
    public R test1(){
        return R.ok();
    }
    @GetMapping("/test")
    public R test(){
        return R.ok();
    }
}
